package day3.HomeWork;

public class Test2 {
        public static void main(String[] args) {
            int[] arr1 = {1,2,3};
            for (int num : arr1){
                num = 4;
            }
            System.out.println("输出：" + arr1[0]);
        }
    }

